home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3570 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.3 KB  |  48 lines

  1. Newsgroups: comp.lang.c++
  2. Path: devv08.hydro.qc.ca!alain
  3. From: alain@distri.hydro.qc.ca (Alain Bibeau)
  4. Subject: Create a dos 3.31 pgr using Borland C++ 4.51
  5. X-Nntp-Posting-Host: devv08.distri.hydro.qc.ca
  6. Message-ID: <DLpHq8.EMG@ireq.hydro.qc.ca>
  7. Sender: news@ireq.hydro.qc.ca (Netnews Admin)
  8. Organization: Hydro-Quebec
  9. X-Newsreader: TIN [version 1.2 PL2]
  10. Date: Wed, 24 Jan 1996 22:13:20 GMT
  11.  
  12. Here is my problem,
  13.  
  14. I'm running under DOS 6.22 and Windows 3.1
  15. and using Borland C++ 4.51. I want to create
  16. a simple DOS program like the following :
  17.  
  18. #include <stdio>
  19.  
  20. main ()
  21. {
  22.   printf ("Hello world\n") ;
  23. }
  24.  
  25. I've compiled and linked the program and it run
  26. fine under my computer. BUT i want this program
  27. to run under another computer running DOS 3.31.
  28.  
  29. When i copy my program to this computer and run,
  30. it freeze. Is 4.51 can create a 3.31 DOS program ?
  31. If it can, what are the setting necessary ?
  32.  
  33. I've tried with TargetExpert :
  34.   - Platform : DOS Standard with all available models
  35.  
  36. With Projet Options :
  37.   - No floting point, Fast floating point ...
  38.   - 8086, 80286 instruction set 
  39.   - ...
  40.  
  41. Any ideas will help
  42.  
  43. Thank's in advanced.
  44.  
  45. Alain Bibeau     +1 514-289-7091       |  "Machines work, people should think"
  46. Montreal, Quebec, Canada       |
  47. alain@distri.hydro.qc.ca       |        -- Troutman's programming laws
  48.